/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.yipinsoft.modules.wechat.user.service;

import java.util.List;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.thinkgem.jeesite.common.persistence.Page;
import com.thinkgem.jeesite.common.service.CrudService;
import com.yipinsoft.modules.wechat.user.entity.WechatUser;
import com.yipinsoft.modules.wechat.user.dao.WechatUserDao;

/**
 * 微信用户记录系统中用户或会员的微信信息Service
 * @author liulin
 * @version 2017-10-23
 */
@Service
@Transactional(readOnly = true)
public class WechatUserService extends CrudService<WechatUserDao, WechatUser> {

	public WechatUser get(String id) {
		return super.get(id);
	}
	
	public List<WechatUser> findList(WechatUser wechatUser) {
		return super.findList(wechatUser);
	}
	
	public Page<WechatUser> findPage(Page<WechatUser> page, WechatUser wechatUser) {
		return super.findPage(page, wechatUser);
	}
	
	@Transactional(readOnly = false)
	public void save(WechatUser wechatUser) {
		super.save(wechatUser);
	}
	
	@Transactional(readOnly = false)
	public void delete(WechatUser wechatUser) {
		super.delete(wechatUser);
	}
	
}